package com.buba.service;

import entity.maintenance.MaintenanceLevel;
import com.baomidou.mybatisplus.extension.service.IService;
import entity.maintenance.dto.MaintenanceLevelDto;
import utils.pageutil.PageResult;

import java.util.List;

/**
 * <p>
 * 保养级别 服务类
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
public interface MaintenanceLevelService extends IService<MaintenanceLevel> {

    List<MaintenanceLevel> queryAll();

    /**
     * 分页模糊全查
     * @param maintenanceLevelDto
     * @return
     */
    PageResult selMaintenanceLevel(MaintenanceLevelDto maintenanceLevelDto);


    boolean insMaintenanceLevel(MaintenanceLevel maintenanceLevel);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    boolean delMaintenanceLevel(List<Integer> ids);

    /**
     * 编辑保养等级
     * @param maintenanceLevel
     * @return
     */
    boolean updateMaintenanceLevel(MaintenanceLevel maintenanceLevel);
}
